from django.conf.urls import url
from django.contrib import admin
from .views import index_views,list_views,info_views
urlpatterns = [
    url(r'^$', index_views.index,name='myhome_index'),
        # list
    url(r'^list/(?P<cid>[0-9]+)/(?P<bid>[0-9]+)$', list_views.myhome_list,name='myhome_list'),
    url(r'^info/$', info_views.myhome_info,name='myhome_info'),
   
    url(r'^login/$', index_views.myhome_login,name='myhome_login'),
    url(r'^out/$',index_views.myhome_outlogin,name='myhome_out'), 

    url(r'^register/$', index_views.myhome_register,name='myhome_register'),
    url(r'^sendmsg/$', index_views.sendmsg,name='myhome_sendmsg'),

    # gouwu
    url(r'^addcar/$', info_views.addcar,name='myhome_car'),
    url(r'^carpage/$', info_views.carpage,name='myhome_carpage'),
    url(r'^caredit/$', info_views.caredit,name='myhome_caredit'),

    # 订单
   url(r'^confirm/$', info_views.confirm,name='myhome_confirm'),
    # 获取城市地址
    url(r'^getcitys/$', info_views.getcitys,name='myhome_getcitys'),
    # 存地址
    url(r'^saveaddress/$', info_views.saveaddress,name='myhome_saveaddress'),
    
    # 生成订单
    url(r'^createorder/$', info_views.createorder,name='myhome_createorder'),

    # shanchu
    url(r'^shanchu/$', info_views.shanchu,name='myhome_shanchu'),


    # gerenzhongxin
    url(r'^geren/$', index_views.geren,name='myhome_geren'),

    # 订单管理
    url(r'^myhomeorder/$', index_views.myhomeorder,name='myhome_order'),
    # 订单删除成功
    url(r'^delorder/$', index_views.delorder,name='myhome_delorder'),
    # 订单管理222

    url(r'^ordertwo/$', index_views.ordertwo,name='myhome_ordertwo'),







]